package org.light.framework;

import org.light.framework.aop.AopHelper;
import org.light.framework.ioc.BeanHelper;
import org.light.framework.ioc.IocHelper;
import org.light.framework.mvc.ControllerHelper;
import org.light.framework.util.ClassUtil;

/**
 * 辅助类加载器（执行构造函数中的静态代码块）
 * 
 * @author Administrator
 *
 */
public final class HelperLoader {

	public static void init() {
		// 定义需要加载的 Helper 类
		Class<?>[] classList = { ClassUtil.class, BeanHelper.class, AopHelper.class, IocHelper.class,
				ControllerHelper.class, };
		// 按照顺序加载类
		for (Class<?> cls : classList) {
			ClassUtil.loadClass(cls.getName());
		}
	}
}
